<?php

use  Johnm\Probackend\Former\Facades\Former;

$prefix = Config::get('probackend::config.sites.prefix');
$package_path = base_path("workbench/johnm/probackend/src");

include $package_path . '/views/administrator_group/partial/table_config.php';
include $package_path . '/views/administrator_group/partial/table_prerender.php';
include $package_path . '/views/administrator_group/partial/create_config.php';
include $package_path . '/views/administrator_group/partial/create_prerender.php';
include $package_path . '/views/administrator_group/partial/edit_config.php';
include $package_path . '/views/administrator_group/partial/edit_prerender.php';
?>



{{$table->renderPanel(null, $panel_options, null)}}

<div class="modal fade" id="crub-create-model-dialog" tabindex="-1" role="dialog" aria-hidden="true">
    {{$create_form_open}}
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">{{$create_form_title}}</h4>
            </div>     
            <div class="modal-body">                
            </div>
            <div class="modal-footer">
                {{$create_form_actions}}
            </div>
        </div>
    </div>
    {{Former::close()}}
</div>


<div class="modal fade" id="crub-edit-model-dialog" tabindex="-1" role="dialog" aria-hidden="true">
    {{$edit_form_open}}
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">{{$edit_form_title}}</h4>
            </div>          
            <div class="modal-body">
                <div class="text-center"><i class="icon-spinner3 spin block-inner" style="font-size: 48px"></i></div>
            </div>
            <div class="modal-footer">
                {{$edit_form_actions}} 
            </div>
        </div>
    </div>
    {{Former::close()}}
</div>
